<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
<link rel="stylesheet" href="main.css" type="text/css"/>
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/redmond/jquery-ui.css" type="text/css"/>
<link rel="stylesheet" href="flexigrid.css" type="text/css">
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js"></script>
<script type="text/javascript" src="flexigrid.js"></script>
<script type="text/javascript" src="main.js"></script>

</head>
<body>
<div id="tabs" style="width: 97%; height: 80%">
<ul>
	<li><a href="#tabs-1">Transactions</a></li>
	<li><a href="#tabs-2">Accounts</a></li>
	<li><a href="#tabs-3">Transfers</a></li>
	<li><a href="#tabs-4">Vendors</a></li>
	<li><a href="#tabs-5">Categories</a></li>
	<li><a href="#tabs-6">Rules</a></li>
</ul>
<div id="tabs-1">
	<table>
	<tr><td>Account:<select id="account_list"/><input type="checkbox" id="uncategorized"/>Uncategorized Only</td></tr>
	<tr><td colspan="100"><table id="flex_transactions" style="display:none" ></table></td></tr>
	</table>
</div>
<div id="tabs-2"><table id="flex_accounts" style="display:none" ></table></div>
<div id="tabs-3"><table id="flex_transfers" style="display:none" ></table></div>
<div id="tabs-4"><table id="flex_vendors" style="display:none" ></table></div>
<div id="tabs-5"><table id="flex_categories" style="display:none" ></table></div>
<div id="tabs-6"><table id="flex_rules" style="display:none" ></table></div>
<div id="transaction_dlg" title="Account">
	<form><table>
		<tr><th>Name:</th><td><input type="text" name="name" id="name" class="text ui-widget-content ui-corner-all" /><input type="hidden" id="id"/></td></tr>
		<tr><th>Amount:</th><td><input type="text" name="amt" id="amt" class="text ui-widget-content ui-corner-all" /></td></tr>
		<tr><th>Date:</th><td><input type="text" name="date" id="date" class="text ui-widget-content ui-corner-all" /></td></tr>
		<tr><th>Vendor:</th><td id="vendor_list">&nbsp;</td></tr>
		<tr><th>Category:</th><td id="category_list">&nbsp;</td></tr>
		<tr id="creditdebitradio" style="display: none;"><th></th><td>Debit:<input type="radio" name="type" id="type" class="text ui-widget-content ui-corner-all" value="debit" checked />
					      Credit:</th><td><input type="radio" name="type" id="type" class="text ui-widget-content ui-corner-all" value="credit"/></td></tr>
	</table></form>
</div>

<div id="account_dlg" title="Account">
	<form><table>
		<tr><th>Name:</th><td><input type="text" name="name" id="nick" class="text ui-widget-content ui-corner-all" /><input type="hidden" id="id"/></td></tr>
		<tr><th>Account:</th><td><label id="name">A</label></td></tr>
		<tr><th>Type:</th><td><label id="type">A</label></td></tr>
	</table></form>
</div>

<div id="category_dlg" title="Category">
	<form><table>
		<tr><th>Name:</th><td><input type="text" name="name" id="name" class="text ui-widget-content ui-corner-all" /><input type="hidden" id="id"/></td></tr>
		<tr><th>Type:</th><td><select id="categories_types_list"></select></td></tr>
	</table></form>
</div>

<div id="vendor_dlg" title="Vendor">
	<form><table>
		<tr><th>Name:</th><td><input type="text" name="name" id="name" class="text ui-widget-content ui-corner-all" /><input type="hidden" id="id"/></td></tr>
	</table></form>
</div>

<div id="rule_dlg" title="Rule">
	<form><table>
		<tr><th>Name:</th><td><input type="text" name="name" id="name" class="text ui-widget-content ui-corner-all" /><input type="hidden" id="id"/></td></tr>
		<tr><th>Amount:</th><td><input type="text" name="amt" id="amt" class="text ui-widget-content ui-corner-all" /></td></tr>
		<tr><th>Vendor:</th><td id="vendor_list">&nbsp;</td></tr>
		<tr><th>Category:</th><td id="category_list">&nbsp;</td></tr>
	</table></form>
</div>

<div id="upload_dlg" title="Upload File">
	<form action="command/upload_file" method="post" enctype="multipart/form-data"><table>
		<tr><td><input name="qbo-file" type="file"/></td></tr>
	</table></form>
</div>

<div id="transfer_dlg" title="Transfer">
	<form>
		<input type="hidden" id="id"/>
		<input type="hidden" id="acct_id"/>
		<input type="hidden" id="from_transaction_id"/>
	<table>
		<tr><th>From:</th><td id="from">&nbsp;</td></tr>
		<tr><th>To:</th><td id="to"><select id="to_account_list"/></td></tr>
		<tr><th>Amount:</th><td id="vendor_list"><span id="amt" /></td></tr>
		<tr><th>Sent:</th><td id="sent">&nbsp;</td></tr>
		<tr><th>Received:</th><td id="received">&nbsp;</td></tr>
	</table></form>
</div>

</body>
</html>